package com.hbx.dto.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/*
 * @Author:hbx
 * 
 * 用户注册dto
 * */
@Data
public class UserRegisterDto {
    @NotBlank(message = "邮箱为必传项")
    private String email;
    @NotBlank(message = "用户名为必传项")
    private String username;
    @NotBlank(message = "密码为必传项")
    private String password;
    @NotBlank(message = "验证码为必传项")
    private String captcha;
}
